home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
iproj
/
ques1.frm
< prev
next >
Wrap
Text File
|
1995-09-06
|
3KB
|
114 lines
VERSION 2.00
Begin Form QUES1
BackColor = &H00800080&
BorderStyle = 3 'Fixed Double
Caption = "Question 1"
ClientHeight = 2670
ClientLeft = 1710
ClientTop = 1830
ClientWidth = 5325
ClipControls = 0 'False
ControlBox = 0 'False
Height = 3075
Left = 1650
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 2670
ScaleWidth = 5325
Top = 1485
Width = 5445
Begin CommandButton Command1
Caption = "HELP!"
Height = 495
Index = 3
Left = 2760
TabIndex = 5
Top = 1200
Width = 2055
End
Begin CommandButton Command2
Cancel = -1 'True
Caption = "Cancel"
Default = -1 'True
Height = 495
Left = 1920
TabIndex = 4
Top = 1920
Width = 1695
End
Begin CommandButton Command1
Caption = "I survive"
Height = 495
Index = 2
Left = 480
TabIndex = 0
Top = 1200
Width = 2055
End
Begin CommandButton Command1
Caption = "Moderately skilled"
Height = 495
Index = 1
Left = 2760
TabIndex = 3
Top = 600
Width = 2055
End
Begin CommandButton Command1
Caption = "Highly skilled"
Height = 495
Index = 0
Left = 480
TabIndex = 2
Top = 600
Width = 2055
End
Begin Label Label2
BackColor = &H00800080&
Caption = "Describe your ability to use a computer:"
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 12
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00FFFFFF&
Height = 375
Left = 240
TabIndex = 1
Top = 120
Width = 6015
End
End
Sub Command1_Click (index As Integer)
Question1 = ""
Select Case index
Case 0
Question1 = "1"
Case 1
Question1 = "2"
Case 2
Question1 = "3"
Case 3
Question1 = "4"
End Select
If Question1 <> "" Then
ques2.Show
Else
MsgBox ("Please answer the current question before moving on!")
End If
End Sub
Sub Command2_Click ()
response = MsgBox("Do you really want to close without sending in your responses?", 1, "Are you sure?")
If response = 1 Then
End
End If
End Sub